package com.pur.zsms.storemanage.po;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.hibernate.annotations.GenericGenerator;

import com.pur.zsms.common.vo.BaseEntity;

@SuppressWarnings("serial")
@Entity
@Table(name = "t_store_in_detailed")
/**
 * 入库详细订单实体类
 * @author 周
 *
 */
public class StoreInDetailedPo extends BaseEntity {
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id")
	private int id;

	@Column(name = "store_in_id")
	private int storeInId;

	@Column(name = "mater_id")
	private int materId;

	@Column(name = "mater_level")
	private int materLevel;

	@Column(name = "mater_num")
	private BigDecimal materNum;

	@Column(name = "mater_num_need")
	private BigDecimal materNumNeed;

	@Column(name = "account_state")
	private int accountState;// 是否结款 0未计算价钱1价钱计算完毕待结算 2结算完毕

	@Column(name = "account_date")
	private String accountDate;

	@Column(name = "mater_value_unit")
	private BigDecimal materValueUnit;

	@Column(name = "mater_value")
	private BigDecimal materValue;

	public BigDecimal getMaterValue() {
		return materValue;
	}

	public void setMaterValue(BigDecimal materValue) {
		this.materValue = materValue;
	}

	public String getAccountDate() {
		return accountDate;
	}

	public void setAccountDate(String accountDate) {
		this.accountDate = accountDate;
	}

	public BigDecimal getMaterValueUnit() {
		return materValueUnit;
	}

	public void setMaterValueUnit(BigDecimal materValueUnit) {
		this.materValueUnit = materValueUnit;
	}

	public int getAccountState() {
		return accountState;
	}

	public void setAccountState(int accountState) {
		this.accountState = accountState;
	}

	public BigDecimal getMaterNumNeed() {
		return materNumNeed;
	}

	public void setMaterNumNeed(BigDecimal materNumNeed) {
		this.materNumNeed = materNumNeed;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getStoreInId() {
		return storeInId;
	}

	public void setStoreInId(int storeInId) {
		this.storeInId = storeInId;
	}

	public int getMaterId() {
		return materId;
	}

	public void setMaterId(int materId) {
		this.materId = materId;
	}

	public int getMaterLevel() {
		return materLevel;
	}

	public void setMaterLevel(int materLevel) {
		this.materLevel = materLevel;
	}

	public BigDecimal getMaterNum() {
		return materNum;
	}

	public void setMaterNum(BigDecimal materNum) {
		this.materNum = materNum;
	}

}
